TELDNSetAutoAnswer
Enables or disables routing of auto-answered incoming calls to your application.
pascal TELErr TELDNSetAutoAnswer ( TELDNHandle hTELDN, Boolean AutoAnswerOn);
hTELDN
- A handle to a directory number structure.
AutoAnswerOn
- A Boolean value that indicates whether to enable (
true
) or disable (false
) routing of auto-answered incoming calls for the specified directory number.- function result
- A result code.
DESCRIPTION
TheTELDNSetAutoAnswer
function enables or disables routing of auto-answered incoming calls for the directory number specified by thehTELDN
parameter, according to the value passed in theAutoAnswerOn
parameter. IfAutoAnswerOn
istrue
, theautoAnswerAvail
flag of thefeatureFlags
field in the directory number structure is set and all subsequent incoming calls are routed to your application. IfAutoAnswerOn
isfalse
, theautoAnswerAvail
flag of thefeatureFlags
field in the directory number structure is cleared. In addition, whenAutoAnswerOn
isfalse
, your application's call saver feature is also turned off.SPECIAL CONSIDERATIONS
More than one application can set the Auto-answer feature of a directory number. However, if more than one application sets the Auto-answer feature of a directory number, thetelDNSetAutoAnswerMsg
message is sent only to the telephone tool for the first application to set that feature.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help